package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    List<NursingPlanVo> findAll();

    NursingPlanVo findById(Integer id);

    void add(NursingPlan nursingPlan);

    Page<NursingPlan> page(String name, Integer status);

    void deleteById(Integer id);

    void setStatus(Integer id, Integer status);
}
